strconv.decimal.d (field)
35 uses
strconv (current package)
atof.go#L113: if b.nd < len(b.d) {
atof.go#L114: b.d[b.nd] = s[i]
atof.go#L350: for d.dp < 0 || d.dp == 0 && d.d[0] < '5' {
decimal.go#L15: d [800]byte // digits, big-endian representation
decimal.go#L44: w += copy(buf[w:], a.d[0:a.nd])
decimal.go#L48: w += copy(buf[w:], a.d[0:a.dp])
decimal.go#L51: w += copy(buf[w:], a.d[a.dp:a.nd])
decimal.go#L55: w += copy(buf[w:], a.d[0:a.nd])
decimal.go#L72: for a.nd > 0 && a.d[a.nd-1] == '0' {
decimal.go#L97: a.d[a.nd] = buf[n]
decimal.go#L129: c := uint(a.d[r])
decimal.go#L138: c := uint(a.d[r])
decimal.go#L141: a.d[w] = byte(dig + '0')
decimal.go#L150: if w < len(a.d) {
decimal.go#L151: a.d[w] = byte(dig + '0')
decimal.go#L271: if prefixIsLessThan(a.d[0:a.nd], leftcheats[k].cutoff) {
decimal.go#L281: n += (uint(a.d[r]) - '0') << k
decimal.go#L285: if w < len(a.d) {
decimal.go#L286: a.d[w] = byte(rem + '0')
decimal.go#L298: if w < len(a.d) {
decimal.go#L299: a.d[w] = byte(rem + '0')
decimal.go#L307: if a.nd >= len(a.d) {
decimal.go#L308: a.nd = len(a.d)
decimal.go#L339: if a.d[nd] == '5' && nd+1 == a.nd { // exactly halfway - round to even
decimal.go#L344: return nd > 0 && (a.d[nd-1]-'0')%2 != 0
decimal.go#L347: return a.d[nd] >= '5'
decimal.go#L382: c := a.d[i]
decimal.go#L384: a.d[i]++
decimal.go#L392: a.d[0] = '1'
decimal.go#L406: n = n*10 + uint64(a.d[i]-'0')
ftoa.go#L171: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L194: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L320: l = lower.d[li]
ftoa.go#L324: m = d.d[mi]
ftoa.go#L328: u = upper.d[ui]
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |